<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>
        <%= htmlWebpackPlugin.options.title %>
    </title>
    <link rel="stylesheet" href="https://file.bendiclass.com/oss/static/animate.min.css">
    <script src="//file.bendiclass.com/oss/static/jweixin-1.6.0.js"></script>
    <script>
      if ('test-m.bendiclass.com' === window.location.hostname || window.location.port==='8082') {
        const src = 'https://cdn.jsdelivr.net/npm/eruda@1.5.8/eruda.min.js';
        document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
        document.write('<scr' + 'ipt>eruda.init();</scr' + 'ipt>');
      }
    </script>
    <script>
      document.addEventListener('DOMContentLoaded', function () {
        document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
      })
      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
      const blowList = ['/pages/pdf/index/index', '/pages/pdf/test-paper/index']
      if (blowList.includes(window.location.pathname)) {
        console.log('是否可以放大')
        document.write('<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=8.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
      } else {
        document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
      }

      var _hmt = _hmt || [];
      window._hmt = _hmt;
      (function () {
        var hm = document.createElement('script');
        if ('m.bendiclass.com' === window.location.hostname) {
          hm.src = 'https://hm.baidu.com/hm.js?861ab3e7d20a1de3bb2085ea00d369e6';
        } else {
          hm.src = 'https://hm.baidu.com/hm.js?37611585dddeec2136c3eab4ae60e68b';
        }
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
    <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"/>
</head>

<body>
<script>
  if ('m1.bendiclass.com' === window.location.hostname) {
    !(function(c,b,d,a){c[a]||(c[a]={});c[a].config={pid:"eywe16xc05@1df8dcf9536a560",appType:"web",imgUrl:"https://arms-retcode.aliyuncs.com/r.png?",sendResource:true,enableLinkTrace:true,behavior:true};
      with(b)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("crossorigin","",src=d)
    })(window,document,"https://retcode.alicdn.com/retcode/bl.js","__bl");
  }
</script>
<noscript>
    <strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<!--<script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>-->
<!--<script src="//file.bendiclass.com/oss/static/hammer.min.js"></script>-->
</html>
